home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="EUC-KR"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- This file is generated from xml source: DO NOT EDIT
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- -->
- <title>CGI ╚»░µ┐í╝¡ PATH_INFO└╟ ║»╚¡ - Apache HTTP Server</title>
- <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
- <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
- <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
- <link href="./images/favicon.ico" rel="shortcut icon" /></head>
- <body id="manual-page"><div id="page-header">
- <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p>
- <p class="apache">Apache HTTP Server Version 2.0</p>
- <img alt="" src="./images/feather.gif" /></div>
- <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
- <div id="path">
- <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>CGI ╚»░µ┐í╝¡ PATH_INFO└╟ ║»╚¡</h1>
- <div class="toplang">
- <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/cgi_path.html" hreflang="en" rel="alternate" title="English"> en </a> |
- <a href="./ja/cgi_path.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
- <a href="./ko/cgi_path.html" title="Korean"> ko </a></p>
- </div>
-
- <p>╛╞╞──í 1.1.1░· ▒╫ └╠└ⁿ ╣÷└ⁿ└╟ ░µ┐∞ CGI ╚»░µ┐í╝¡
- PATH_INFO╕ª ╕╕╡σ┤┬ ╣µ╣²└╠ ┴≈░ⁿ└√└╠┴÷ ╛╩░φ ╛ε╢▓ ░µ┐∞ ╝¡╣÷╕ª
- ┴╫└╠▒Γ╡╡ ╟▀┤┘. ╛╞╞──í 1.2 └╠╚─ └╠ ╣µ╣²└╠ ║»╟▀┤┘. ▒Γ┴╕└╟
- ╛ε╢▓ CGI ╟┴╖╬▒╫╖Ñ╡Θ░· ╛α░ú└╟ ╚ú╚»╣«┴ª░í └╓┴÷╕╕
- ╛╞╞──í 1.2└╟ ╟α╡┐└║ ╛╞┴≈╡╡ CGI/1.1 ▒╘╛α└╗ ╣∙╛ε│¬┴÷╛╩└╕╕τ,
- ╜▒░╘ CGI ╜║┼⌐╕│╞«╕ª ╝÷┴ñ╟╥ ╝÷ └╓┤┘. (<a href="#compat">╛╞╖í
- ┬ⁿ░φ</a>)</p>
- </div>
- <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#prob">╣«┴ª┴í</a></li>
- <li><img alt="" src="./images/down.gif" /> <a href="#solution">╟╪░ß├Ñ</a></li>
- <li><img alt="" src="./images/down.gif" /> <a href="#compat">└╠└ⁿ ╝¡╣÷┐═ ╚ú╚»╝║</a></li>
- </ul></div>
- <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
- <div class="section">
- <h2><a name="prob" id="prob">╣«┴ª┴í</a></h2>
- <p>╛╞╞──í 1.1.1░· ▒╫ └╠└ⁿ ╣÷└ⁿ└║ URL ┤δ╜┼ ╞─└╧╕φ└╗
- ░í┴÷░φ PATH_INFO┐═ SCRIPT_NAME ╚»░µ║»╝÷╕ª ▒╕╟÷╟▀┤┘. ╕╣└║
- ░µ┐∞ ┐├╣┘╕Ñ ░ß░·╕ª ╛≥┴÷╕╕, ╞─└╧╜├╜║┼█ ░µ╖╬░í path
- ┴ñ║╕╕ª ╞≈╟╘╟╤┤┘╕Θ └▀╕°╡╚ ░ß░·░í │¬┐├ ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε,
- ╝│┴ñ╞─└╧┐í ┤┘└╜░· ░░└║ │╗┐δ└╠ └╓┤┘╕Θ:</p>
-
- <div class="example"><p><code>
- Alias /cgi-ralph /usr/local/httpd/cgi-bin/user.cgi/ralph
- </code></p></div>
-
- <p>└╠ ░µ┐∞ <code>user.cgi</code>┤┬ CGI ╜║┼⌐╕│╞«└╠░φ, "/ralph"┤┬
- CGI┐í │╤░▄┴÷┤┬ ┴ñ║╕┤┘. └╠ ░µ┐∞
- "<code>/cgi-ralph/script/</code>"╖╬ ┐Σ├╗└╠ ╡Θ╛ε┐└╕Θ PATH┤┬
- "<code>/ralph/script</code>"░í ╡╟░φ, SCRIPT_NAME└║
- "<code>/cgi-</code>"░í ╡╚┤┘. ╚─└┌┤┬ ║╨╕φ╚≈ └▀╕°╡╟╛·┤┘.
- ╜╔┴÷╛ε ╛ε╢▓ ░µ┐∞ ╝¡╣÷░í ┴╫▒Γ╡╡ ╟╤┤┘.</p>
- </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
- <div class="section">
- <h2><a name="solution" id="solution">╟╪░ß├Ñ</a></h2>
- <p>╛╞╞──í 1.2 └╠╚─┐í╝¡┤┬ URL┐í╝¡ ┼¼╢≤└╠╛≡╞«░í ┴╢└²░í┤╔╟╤
- ║╬║╨└╗ ╞╟┤▄╟╧┐⌐ SCRIPT_NAME░· PATH_INFO╕ª ╝│┴ñ╟╤┤┘. └º└╟
- ┐╣┐í╝¡ PATH_INFO┤┬ "<code>/script</code>"░í ╡╟░φ, SCRIPT_NAME└║
- "<code>/cgi-ralph</code>"░í ╡╚┤┘. └╠┤┬ ╟╒╕«└√└╠╕τ ╝¡╣÷┐í
- ╣«┴ª╕ª └╧└╕┼░┴÷ ╛╩┤┬┤┘. ╢╟, └╠└ⁿ ╣÷└ⁿ░· ┤▐╕« ╜║┼⌐╕│╞«┐í╝¡
- "<code>http://$SERVER_NAME:$SERVER_PORT$SCRIPT_NAME$PATH_INFO</code>"░í
- ╟÷└τ ╜║┼⌐╕│╞«╕ª ░í╕«┼░┤┬ URL└╙└╗ ║╕└σ╟╥ ╝÷ └╓┤┘.</p>
-
- <p>▒╫╖»│¬ ║╥╟α╚≈╡╡ <code>Alias</code> ┴÷╜├╛ε└╟
- "<code>/ralph</code>" ┴ñ║╕┤┬ ╗τ╢≤┴°┤┘. ▒╫╖»│¬ ┐∞╕«┤┬
- ╞─└╧╜├╜║┼█└╗ ╗τ┐δ╟╧┐⌐ └╠╖▒ ┴ñ║╕╕ª │╤░▄┴╓┤┬ ░═└╠ ╣┘╢≈┴≈╟╤
- ╣µ╣²└╠ ╛╞┤╧╕τ, └╠╕ª ╗τ┐δ╟╧┤┬ ╜║┼⌐╕│╞«┤┬ └█╡┐╟╥"╕╕╟╧┴÷"
- ╛╩┤┘░φ ╗²░ó╟╤┤┘. ▒╫╖»│¬ ╛╞╞──í 1.2b3 └╠╚─┐í┤┬ └╠┐í ┤δ╟╤
- <a href="#compat">╟╪░ß├Ñ</a>└╠ └╓┤┘.</p>
- </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
- <div class="section">
- <h2><a name="compat" id="compat">└╠└ⁿ ╝¡╣÷┐═ ╚ú╚»╝║</a></h2>
-
-
- <p>╛╞╞──í └╠└ⁿ ╣÷└ⁿ└╠│¬ ┤┘╕Ñ ╝¡╣÷┐δ└╕╖╬ ╝│░Φ╡╚ ╜║┼⌐╕│╞«┤┬
- └╠└ⁿ PATH_INFO ║»╝÷░í ┴ª░°╟▀┤° ┴ñ║╕░í ╟╩┐Σ╟╥ ╝÷ └╓┤┘. ▒╫╖í╝¡
- ╛╞╞──í 1.2 (1.2b3 └╠╚─)┤┬ FILEPATH_INFO╢≤┤┬ ║»╝÷╕ª ┤⌡ ╝│┴ñ╟╤┤┘.
- └╠ ╚»░µ║»╝÷┤┬ ╛╞╞──í 1.1.1└╟ PATH_INFO ░¬└╗ ░í┴°┤┘.</p>
-
- <p>╜║┼⌐╕│╞«░í ╛╞╞──í 1.2┐═ └╠└ⁿ ╣÷└ⁿ ╕≡╡╬┐í╝¡ ╡┐└█╟╧░╘╟╧╖┴╕Θ,
- ╕╒└· FILEPATH_INFO░í └╓┤┬┴÷ ░╦╗τ╟╧░φ └╓┤┘╕Θ ▒╫░═└╗
- ╗τ┐δ╟╤┤┘. ╛°┤┘╕Θ PATH_INFO╕ª ╗τ┐δ╟╤┤┘. ┐╣╕ª ╡Θ╛ε,
- Perl╖╬┤┬ ┤┘└╜░· ░░┤┘:</p>
-
- <div class="example"><p><code>
- $path_info = $ENV{'FILEPATH_INFO'} || $ENV{'PATH_INFO'};
- </code></p></div>
-
- <p>└╠╖╕░╘ ╟╧╕Θ ╕≡╡τ ╛╞╞──í╕ª ╞≈╟╘╟╧┐⌐ CGI/1.1 ▒╘┴ñ└╗ ╡√╕ú┤┬
- ╕≡╡τ ╝¡╣÷┐í╝¡ ╜║┼⌐╕│╞«░í ╡┐└█╟╥ ╝÷ └╓┤┘.</p>
- </div></div>
- <div class="bottomlang">
- <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/cgi_path.html" hreflang="en" rel="alternate" title="English"> en </a> |
- <a href="./ja/cgi_path.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
- <a href="./ko/cgi_path.html" title="Korean"> ko </a></p>
- </div><div id="footer">
- <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
- <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p></div>
- </body></html>